package com.xing.book.dao;

import com.xing.book.domin.Book;

import java.util.List;

public interface BookDao {
    List<Book> selectAll();

    List<Book> selectByTitle(String title);

    void insert(Book book);

    Book selectById(int bookId);

    void update(Book book);

    void delete(int bookId);
}
